<div class="blog-post">
    <h2 class="blog-post-title">
        <a href="blog.php?id=<?php echo $post['id']; ?>"><?php e($post['post_title']); ?></a>
    </h2>
    <p class="blog-post-meta">
        <?php echo $post['post_date']; ?>
        <?php e($author['nickname']); ?>
        <?php e($category_name); ?>
        <?php if ($post['tag']): ?>
        标签：<?php echo $post['tag']; ?>
        <?php endif; ?>
        <a href="blog.php?id=<?php echo $post['id']; ?>#comment">评论(<?php echo $post['comment_count'] ?>)</a>
    </p>

    <?php echo $post['post_content']; ?>
</div>